package com.workshop.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chengluqiang
 * @since 2019-04-13
 */
@Data
@Accessors(chain = true)
@TableName("a_article")
public class AArticle extends Model<AArticle> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 文章标题
     */
    private String title;
    /**
     * 会议介绍
     */
    private String content;
    private Integer status;
    private String url;
    /**
     * 位置
     */
    private String seat;
    /**
     * 截稿时间
     */
    @TableField("pressTime")
    private Date pressTime;
    /**
     * 开始会议的时间
     */
    @TableField("startTime")
    private String startTime;
    /**
     * 结束会议时间
     */
    @TableField("endTime")
    private String endTime;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;


    public static final String ID = "id";

    public static final String TITLE = "title";

    public static final String CONTENT = "content";

    public static final String URL = "url";

    public static final String SEAT = "seat";
    public static final String STATUS = "status";

    public static final String PRESSTIME = "pressTime";

    public static final String STARTTIME = "startTime";

    public static final String ENDTIME = "endTime";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
